﻿using System;
using System.IO;

namespace FeedsLibrary.Feeds.Abstract
{
    public interface IChannel
    {
        // Property declaration:
        string Title { get; set; }
        
        // Property declaration:
        string FileName { get; set; }

        string Description { get; set; }

        DateTime LastBuildDate { get; set; }

        DateTime CurrentDay { get; set; }

        TagList TagList { get; set; }

        object this[ int index ] { get; }

        int ItemCount();

        void Merge( IChannel channel );

        void Update();

        MemoryStream Stream();

        void Save( string fileName );
    }
}